package services.dictionary;


import base.IBaseServicesWithoutBLOBs;
import wt.entity.dictionary.ManagerAssessType;
import wt.entity.dictionary.ManagerAssessTypeExample;

import java.util.List;

public interface ManagerAssessTypeServices extends IBaseServicesWithoutBLOBs<ManagerAssessType,ManagerAssessTypeExample> {

    /**
     * 获取专业树
     * @param itemId  事项id   id为空是获取所有事项
     * @param isOnlyLive  是否只显示启用节点
     * @return
     * @throws Exception
     */
    List<ManagerAssessType> selectManagerAssessType(String itemId, boolean isOnlyLive) throws Exception;

    /**
     * 更新节点状态
     * @param setLiveIdList    set live=1
     * @param setNoLiveIdList  set live=0
     */
    void updateManagerAssessTypeLive(List<String> setLiveIdList,List<String> setNoLiveIdList )throws Exception;

    /**
     * 根据叶子节点获取对应树
     * @param leafIdList
     * @return
     */
    List<ManagerAssessType>  selectTreeByLeafIds( List<String> leafIdList);






}